package com.example.fms.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("standard_freight_rule")
public class StandardFreightRule {

  //id
  @TableId(type = IdType.AUTO)
  @TableField("id")
  private Long id;

  //规则名称
  @TableField("rule_name")
  private String ruleName;

  //仓库
  @TableField("warehouse")
  private String warehouse;

  //规则类型
  @TableField("type")
  private String type;

  //省
  @TableField("province")
  private String province;

  //市
  @TableField("city")
  private String city;

  //区
  @TableField("area")
  private String area;

  //订单数
  @TableField("number")
  private String number;

  //范围
  @TableField("extent")
  private String extent;

  //计算规则
  @TableField("calculation_rules")
  private String calculationRules;

  //运费单价
  @TableField("freight_unit_price")
  private String freightUnitPrice;

  //创建时间
  @TableField("create_time")
  private Date createTime;
  //修改时间
  @TableField("operation_time")
  private Date operationTime;


}
